﻿@model VietTrips.WebUI.Models.LocalPasswordModel

@*<li id="hotelsSearch" class="active">
    @model VietTrips.Domain.Models.Area
    $1$html.beginform("action", "controller")#1#
    @using (Html.BeginForm("SearchResult", "Home", FormMethod.Post,
                htmlAttributes: new Dictionary<string, object> { { "role", "form" }, { "class", "row" } }))
    {
        <div class="col-xs-12 col-sm-4 col-md-4">
            <div class="form-group">
                <label for="destination-place">Nơi Xuất Phát <span class="star"></span></label>
                <select class="form-control mySelectBoxClass" id="destination-place">
                    <option selected>-- Tất Cả --</option>
                    <option>TP HCM</option>
                    <option>Hà Nội</option>
                    <option>Cần Thơ</option>
                    <option>Đà Nẵng</option>
                </select>
            </div>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-2">
            <div class="form-group">
                <label for="where-hotel">Khu Vực Tham Quan <span class="star"></span></label>
                @Html.DropDownListFor(a => a.AreaId, new List<SelectListItem>
                        {
                            new SelectListItem(){Text = "Miền Bắc", Value = "1"},
                            new SelectListItem(){Text = "Miền Đông", Value = "2"}
                        }, htmlAttributes: new { @class = "form-control mySelectBoxClass", @id = "diemthamquan" }
                            )
            </div>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-2">
            <div class="form-group datepicker-wrapper">
                <label for="check-in-hotel">Ngày Khởi Hành<span class="star"></span></label>
                <input type="text" class="form-control departmentDate date" id="check-in-hotel" placeholder="dd/mm/yy">
                <i class="fa fa-calendar"></i>
            </div>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-2">
            <div class="form-group">
                <label for="search-duration">Số Ngày<span class="search-duration"></span></label>
                <select class="form-control mySelectBoxClass" id="search-duration">
                    <option value="1" selected>1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="14">15</option>
                    <option value="30">30</option>
                </select>
            </div>
        </div>
        <div class="col-xs-12 col-sm-4 col-md-2">
            <a href="#" style="line-height: 30px; font-size: 13px;">Tìm Kiếm Nâng Cao</a>
            <div class="clear"></div>
            <button type="submit" class="btn btn-primary btn-block">Tìm Kiếm</button>
        </div>
    }
</li>
<li id="tripCode"></li>*@
<li id="password-tab" class="active">
    @using (Html.BeginForm("Manage", "Account"))
    {
        @Html.AntiForgeryToken()

        <div class="col-xs-12 col-sm-12 col-md-12">
            <h3 class="section-title mt-20">Thay đổi mật khẩu</h3>
            <div class="bb2 mb-20"></div>
            <div class="form-horizontal">
                <div class="form-group mb-50">
                    @Html.LabelFor(m => m.OldPassword, htmlAttributes: new Dictionary<string, object> { { "class", "col-xs-12 col-sm-4 col-md-4 control-label" } })
                    <div class="col-xs-12 col-sm-7 col-md-7">
                        @Html.PasswordFor(m => m.OldPassword, htmlAttributes: new Dictionary<string, object> { { "class", "form-control" }, { "placeholder", "Mật khẩu cũ" } })
                        <p class="text-danger text-error">@Html.ValidationMessageFor(m => m.OldPassword)</p>
                    </div>
                </div>
                <div class="form-group">
                    @Html.LabelFor(m => m.NewPassword, htmlAttributes: new Dictionary<string, object> { { "class", "col-xs-12 col-sm-4 col-md-4 control-label" } })
                    <div class="col-xs-12 col-sm-7 col-md-7">
                        @Html.PasswordFor(m => m.NewPassword, htmlAttributes: new Dictionary<string, object> { { "class", "form-control" }, { "placeholder", "Mật Khẩu mới" } })
                        <p class="text-danger text-error">@Html.ValidationMessageFor(m => m.NewPassword)</p>
                    </div>
                </div>
                <div class="form-group">
                    @Html.LabelFor(m => m.ConfirmPassword, htmlAttributes: new Dictionary<string, object> { { "class", "col-xs-12 col-sm-4 col-md-4 control-label" } })
                    <div class="col-xs-12 col-sm-7 col-md-7">
                        @Html.PasswordFor(m => m.ConfirmPassword, htmlAttributes: new Dictionary<string, object> { { "class", "form-control" }, { "placeholder", "Xác nhận lại mật khẩu mới" } })
                        <p class="text-danger text-error">@Html.ValidationMessageFor(m => m.ConfirmPassword)</p>
                    </div>
                </div>
                <div class="form-group mt-30">
                    <div class="col-xs-12 col-sm-4 col-md-4"></div>
                    <div class="col-xs-12 col-sm-8 col-md-8">
                        <input id="ChanBtn" type="submit" value="Đổi Mật Khẩu" class="btn btn-lg btn-primary col-lg-4" />
                    </div>
                </div>
                </div>
        </div>
    }
</li>